App({
  onLaunch() {
    var _this=this; 
    wx.getStorage({
      key: 'openid',
      success (res) {
        _this.globalData.openid=res.data;
      },
      fail(res){
      }})
    wx.getSystemInfo({
      success: (res) => {
        _this.screenHeight=res.screenHeight*(750/res.screenWidth);
         
      }});
  },
  domainName:'https://mei94.com/chongya/',
  //domainName:'http://localhost/chongya/',
  screenHeight:0,
  globalData: {
    openid:'',
    loginCode:null,
    userInfo: null
  }
})
